@charset "UTF-8";
@import "public-style.css";
@import "header.css";
@import "footer.css";

.footer {
    margin-top: 60px;
}

.main-content {
    border: 1px solid #e5e5e5;
    margin-top: 20px;
    position: relative;
}

/*************************************************/
/* 选座区域 */
.seat-block {
    position: absolute;
    left: 0;
    top: 0;
    width: 800px;
    height: 100%;
    padding: 30px 40px;
    border-right: 1px solid #e5e5e5;
}

/* 第几排 */
.seat-block .row-id-container {
    display: inline-block;
    width: 30px;
    margin-top: 115px;
}

.seat-block .row-id-container .seat-row-id {
    display: inline-block;
    font-size: 16px;
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
}

/* 座位容器 */
.seat-block .seat-container {
    display: inline-block;
    margin-left: 50px;
    vertical-align: top;
}

.seat-block .seat-container .screen {
    width: 550px;
    padding-top: 50px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 16px;
    color: #666;
    background: url("../imgs/icons/screen-icon.png") no-repeat;
    background-position-x: center;
}

.seat-block .empty-area {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.seat-wrapper .seat-row {
    text-align: center;
    margin-bottom: 10px;
}

/* 没有这座位 */
.seat-wrapper .seat-row .empty {
    background-image: none;
}

/* 闲置座位 */
.seat-block .seat {
    display: inline-block;
    width: 30px;
    height: 26px;
    margin: 0 5px;
    background: url("../imgs/icons/seat-selectable-icon.png") no-repeat;
    background-size: contain;
    position: center;
}

.seat-wrapper .seat{
    cursor: pointer;
}

/* 已选择的座位 */
.seat-block .selected {
    background-image: url("../imgs/icons/seat-selected-icon.png");
}

/* 已经出售的座位 */
.seat-block .sold {
    background-image: url("../imgs/icons/seat-sold-icon.png");
}

/* 情侣座位 */
.seat-block .couple {
    width: 67px;
    height: 26px;
    background-image: url("../imgs/icons/seat-couple-icon.png");
}

.seat-block .seat-description {
    margin: 50px 0 0 -60px;
}

.seat-block .seat-description .seat {
    margin-left: 50px;
}

/************************************************/
/* 侧边购票信息*/
.main-content .aside {
    float: right;
    padding: 30px 20px;
    width: 378px;
    height: 100%;
}

.aside .ticket-title {
    border-left: 4px solid #FF8D1B;
    font-size: 24px;
    font-weight: 600;
    color: #FF8D1B;
    padding: 2px 0 2px 10px;
    margin-left: -15px;
}

/*  电影信息 */
.aside .movie-info {
    margin-top: 30px;
}

.aside .movie-info img {
    width: 105px;
    height: 150px;
    vertical-align: top;
    border: 1px solid #ccc;
}

.aside .movie-info .aside-info {
    display: inline-block;
    margin-left: 15px;
    width: 210px;
}

.aside .movie-info .aside-info h3 {
    margin-bottom: 15px;
}

.aside .movie-info .aside-info h3 .movie-title {
    display: inline-block;
    width: 170px;
    color: #127BAB;
    font-size: 18px;
    font-weight: 600;
    padding: 0 5px;
}

.aside .movie-info .aside-info h3 .movie-score {
    float: right;
    color: #fff;
    background-color: #679c21;
    padding: 0 5px;
}

.aside .movie-info .aside-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* 电影票信息 */
.aside .ticket-info {
    margin-top: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.ticket-info .info-item {
    margin-bottom: 10px;
}

.ticket-info .info-item > span:first-child {
    color: #999;
}

/* 购票信息*/
.aside .seat-selected {
    margin-top: 20px;
}

.aside .seat-selected > span:first-child {
    color: #999;
    display: inline-block;
    margin-top: 4px;
    vertical-align: top;
}

.seat-selected .ticket-container {
    display: inline-block;
    width: 280px;
    min-height: 36px;
}

.seat-selected .ticket-container .ticket {
    display: inline-block;
    width: 60px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: #FF8D1B;
    margin: 0 10px 10px 0;
    background-image: url("../imgs/icons/ticket-icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.ticket-total-price {
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ticket-total-price>span:first-child{
    color: #999;
}

.ticket-total-price .price {
    color: #FF8D1B;
    font-size: 24px;
}

.ticket-total-price .price:before {
    content: "\FFE5";
    font-size: 14px;
}

/* 确认选座 */
.ticket-order {
    position: relative;
    margin-top: 20px;
}

.ticket-order input {
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 0 100px 0 15px;
}

.ticket-order input:focus {
    border: 1px solid #FF8D1B;
}

#getCodeBtn {
    position: absolute;
    top: 65px;
    right: 15px;
}

#ticketOrderBtn {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-top: 10px;
    text-align: center;
    font-size: 20px;
    border-radius: 20px;
    background-color: #FF8D1B;
    color: #fff;
}